package com.gaussian.property.module.biz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.songqi.common.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 项目绑定的稽核表
 * </p>
 *
 * @author songqi(13776346982)
 * @since 2024-04-09
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("project_check_table")
public class ProjectCheckTable extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目绑定的稽核表id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String projectCheckTableId;

    /**
     * 项目id
     */
    private String projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 稽核表id
     */
    private String checkTableId;

    /**
     * 稽核周期。daily-每天、weekly-每周、monthly-每月
     */
    private String checkPeriod;

    /**
     * 每周期稽核次数
     */
    private Integer countPerPeriod;

    /**
     * 合格分数
     */
    private Integer passingScore;

    /**
     * 状态。0-停用，1-启用
     */
    private Integer status;

    /**
     * 是否删除。0-未删除、1-已删除
     */
    @TableLogic(value = "0", delval = "1")
    private Integer isDelete;

    /**
     * 备注
     */
    private String remark;



}
